<!---- SUI模板 on ${DATE} -->
<script ng-init="initCss('confirm-order-page/css/confirm-order.css')"></script>
<header class="bar bar-nav">
    <a class="icon icon-left pull-left button-nav" href="#/myorders1"></a>

    <h1 class="title">订单详情</h1>
</header>
<div class="content" ng-init="showOrderDetails()">
    <div class="order-top">
        <div class="userAndemails">
            <div class="buy-username">订单状态:<span>{{orderInfo.orderWord}}</span></div>
            <div class="buy-emails">订单时间:<span>{{orderInfo.orderDate|date:'yyyy-MM-dd HH:mm:ss'}}</span></div>
        </div>
        <div class="tip">购买后可使用已绑定的邮箱进行登录了解该线路详情。购后不支持退款、转让。</div>
    </div>
    <div class="order-middle">
        <div class="order-number">课程类型：{{orderInfo.aClass.classType.typeName}}</div>
        <div class="order-number">订单号：{{orderInfo.orderNum}}</div>
        <div class="order-details">
            <div class="order-img pull-left"><img ng-src="page/confirm-order-page/img/timg.jpg"/></div>
            <div class="titleAndprice pull-right">
                <div class="order-title">{{orderInfo.aClass.classTitle}}</div>
                <div class="order-price"><span class="fa fa-cny">{{orderInfo.aClass.classPrice}}</span></div>
            </div>
            <div style="clear: both"></div>
        </div>
    </div>
    <div class="sum-count">总计：<span class="fa fa-cny">{{orderInfo.aClass.classPrice}}</span></div>
    <!--内容区-->
    <div class="delete-div"><span class="pull-right" ng-click="getorderId(orderInfo.orderId)">删除</span></div>
</div>
<div class="order-bottom" ng-if="orderInfo.orderStatus==1">
    <div class="bottom-left pull-left">金额: &nbsp;&nbsp;<span class="fa fa-cny">{{orderInfo.aClass.classPrice}}</span>
    </div>
    <div class="bottom-right pull-right" ng-click="buyClass()">购买</div>
</div>
<div ng-init="suiMobileInit()"></div>